package design.cp3;

public class Soy extends CondimentDecorator
{
	Beverage beverage;
	
	public Soy(Beverage beverage)
	{
		this.beverage = beverage;
	}
	
	public String getDescription()
	{
		System.out.println("^^^^^Soy^^^^^^^^");
		return beverage.getDescription()+", Soy";
	}
	
	public double cost()
	{
		return .15+beverage.cost();
	}

}
